How to know if the process has terminated while processing the inputstream and when should I call pr

visit shbcf.ru